package com.donger.upms.api.entity;


import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * 部门关系表
 *
 * @author aeizzz
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysDeptRelation extends Model<SysDeptRelation> {

    /**
     * 祖先
     */
    private Long ancestor;

    /**
     * 后代
     */
    private Long descendant;
}
